#
# "main" pseudo-component makefile.
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)

ifdef CONFIG_AUDIO_BOARD_CUSTOM

ifdef CONFIG_MY_BOARD_V1_0
COMPONENT_ADD_INCLUDEDIRS += ./my_codec_driver
COMPONENT_SRCDIRS += ./my_codec_driver

COMPONENT_ADD_INCLUDEDIRS += ./my_board_v1_0
COMPONENT_SRCDIRS += ./my_board_v1_0
endif

ifdef CONFIG_WCDLP_BOARD_V2_0
COMPONENT_ADD_INCLUDEDIRS += ./es8311_wcdlp
COMPONENT_SRCDIRS += ./es8311_wcdlp

COMPONENT_ADD_INCLUDEDIRS += ./wcdbd_v2_0
COMPONENT_SRCDIRS += ./wcdbd_v2_0
endif

ifdef CONFIG_WISTETHO3_BOARD_V1_0
COMPONENT_ADD_INCLUDEDIRS += ./es8311_iStetho
COMPONENT_SRCDIRS += ./es8311_iStetho

COMPONENT_ADD_INCLUDEDIRS += ./iStetho3bd_v1_0
COMPONENT_SRCDIRS += ./iStetho3bd_v1_0
endif

ifdef CONFIG_ISTETHO2_BOARD_V1_3
COMPONENT_ADD_INCLUDEDIRS += ./es8388a1s
COMPONENT_SRCDIRS += ./es8388a1s

COMPONENT_ADD_INCLUDEDIRS += ./iStetho2bd_v1_3
COMPONENT_SRCDIRS += ./iStetho2bd_v1_3
endif

endif